package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 外部资源工具注册对象 sys_source_registry
 * 
 * @author metaee
 * @date 2023-12-14
 */
@Data
@TableName("sys_source_registry")
public class Tool
{
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("resource_name")
    private String resourceName;

    @TableField("description")
    private String description;

    @TableField("json_file_url")
    private String jsonFileUrl;

    @TableField("yaml_file_url")
    private String yamlFileUrl;

    @TableField("service_url")
    private String serviceUrl;

    @TableField("gmt_created")
    private Date gmtCreated;

    @TableField("gmt_modified")
    private Date gmtModified;

    @TableField("creator")
    private Long creator;

    @TableField("is_deleted")
    private Long isDeleted;

    @TableField("label")
    private String label;

    @TableField("tools")
    private String tools;
}
